﻿<include file="Public/header" />
<div class="navbar-collapse collapse">
	<ul class="nav navbar-nav">
		<li id="dingdan">
			<a href="__APP__/Index/orderlist">订单</a>
		</li>
		<li class="dropdown" id="shangpin">
			<a href="javascript:void(0)" class="dropdown-toggle"
				data-toggle="dropdown">
				商品
				<b class="caret"></b>
			</a>
			<ul class="dropdown-menu">
				<li>
					<a href="__APP__/Admin/nav">商品分类</a>
				</li>
				<li>
					<a href="__APP__/Admin/product">商品管理</a>
				</li>
			</ul>
		</li>
		<li class="dropdown active" id="weixinset">
			<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
				微信设置
				<b class="caret"></b>
			</a>
			<ul class="dropdown-menu">
				<li>
					<a href="__APP__/Weixin/index" id="weixinset">微信初始化</a>
				</li>
			</ul>
		</li>
	</ul>
	<ul class="nav navbar-nav navbar-right">
		<li>
			<a href="javascript:void(0)">{$username}</a>
		</li>
		<li>
			<a href="__APP__/Index/quit">退出</a>
		</li>
	</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<div class="container">
		
	<form class="form-horizontal" role="form" method="post"
		action="__URL__/weixinset"  enctype="multipart/form-data">
		<div class="form-group">
			<label for="title" class="col-sm-2 control-label">微商城标题</label>
			<div class="col-sm-5">
				<input type="text" class="form-control"
					value="{$weixinset[0].title}" id="title" name="title"
					placeholder="请输入微商城标题">
			</div>
		</div>
		<div class="form-group">
			<label for="img" class="col-sm-2 control-label">微商城图片</label>
			<div class="col-sm-5">
				<!-- <input type="text" class="form-control"
					value="{$weixinset[0].img}" id="img" name="img"
					placeholder="请上传微信商城图片"> -->
				<input type="hidden" name="noupimg" value="{$weixinset[0].img}">
				<input class="btn btn-default" type="file" name="img">
				允许的附件文件类型: jpg,gif,png,jpeg 并且图片大小小于200k
				<img src="__PUBLIC__/Uploads/{$weixinset[0].img}" class="img-thumbnail">
			</div>
		</div>
		<div class="form-group">
			<label for="description" class="col-sm-2 control-label">微商城简介</label>
			<div class="col-sm-5">
				<input type="text" class="form-control"
					value="{$weixinset[0].description}" id="description"
					name="description" placeholder="请输入微信商城简介">
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" name="weixinset" value="weixinset"
					class="btn btn-primary">设置</button>
			</div>
		</div>
	</form>
</div>

<include file="Public/footer" />